<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Alive.js - Documentation</title>

    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
    <link type="text/css" rel="stylesheet" href="styles/custom.css">
</head>
<body>

<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
  <div class="navicon"></div>
</label>

<label for="nav-trigger" class="overlay"></label>

<nav id="nav">
    <h3 class="group-title"><a href="index.html">&#x3C; Home &#x3E;</a></h3><input class="search" placeholder="Search" type="text"><div class="list"><h3 class="group-title">Classes</h3><ul><li><a href="Alive.html" class="className">Alive</a><ul class='methods'><li data-type='method'><a href="Alive.html#survive" class="methodName">survive</a></li></ul></li><li><a href="Apple.html" class="className">Apple</a><ul class='methods'></ul></li><li><a href="Energy.html" class="className">Energy</a></li><li><a href="Environment.html" class="className">Environment</a><ul class='methods'><li data-type='method'><a href="Environment.html#start" class="methodName">start</a></li></ul></li><li><a href="Tree.html" class="className">Tree</a><ul class='methods'><li data-type='method'><a href="Tree.html#crop" class="methodName">crop</a></li></ul></li></ul><h3 class="group-title">Events</h3><ul><li><a href="Apple.html#event:beEaten" class="className">beEaten</a></li><li><a href="Environment.html#event:beforeDestroy" class="className">beforeDestroy</a></li></ul><h3><a href="global.html">Global</a></h3></div>
</nav>

<div id="main">
    
        <h1 class="page-title">Alive.js</h1>
    

    



    
    <section>
        <article>
            <pre class="prettyprint source linenums"><code>/**
 * Donec imperdiet dignissim semper. Sed vehicula purus dui, eget porta lectus convallis sagittis. Suspendisse ac lectus dignissim, tincidunt nisi quis, gravida metus.
 * @class 
 */
class Alive {
    constructor(){
        /**
         * amount of energy
         * @property {Energy} the 
         */
        this.energy = null;
    }
    /**
     * @param {Environment} environment the environment when this Alive thing is surviving
     * @return {Energy} the energy wasted in this surviving instance
     * @method 
     */
	survive() {
        return null
	}
}
</code></pre>
        </article>
    </section>




</div>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon, 30 Oct 2017 23:40:52 GMT using
    <a href="https://www.npmjs.com/package/namis">Namis</a> theme.
</footer>

<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://cdn.jsdelivr.net/jquery.nicescroll/3.6.0/jquery.nicescroll.min.js"></script>
<script src="scripts/namis.search.jquery.js"></script>
<script>prettyPrint();
(function($){
    $('nav').niceScroll({
        cursorwidth: 7,
        hwacceleration: true,
        cursorcolor: "#036564",
        cursorborder: "1px solid #036564"
    });

    $('html').niceScroll({
        cursorwidth: 10,
        hwacceleration: true,
        smoothscroll: true,
        cursorminheight: 32,
        enablemousewheel: true, // nicescroll can manage mouse wheel events
        enablekeyboard: true // nicescroll can manage keyboard events
        ,cursorcolor: "#033649"
    });

    $('#nav').search(['className', 'methodName']);
})(jQuery);
</script>
<script src="scripts/linenumber.js"></script>
</body>
</html>
